<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<style>
		.text-box{
			margin: 20px 0;
		}
		.btn-box{
			text-align: center;
			margin: 10px auto;
		}
		button{
			padding: 10px;
			margin: 0 10px;
			border-radius: 10px;
		}
	</style>
	<title>URL在线编码解码工具</title>
</head>
<body>
	<h1>URL在线编码解码工具</h1>
	<textarea spellcheck="false" class="text-box" id="data" rows="8" style="width: 100%;"></textarea>
	<div class="btn-box">
		<button onclick="encodeData()">URLEncode编码</button>
		<button onclick="decodeData()">URLDecode解码</button>
		<button onclick="closeData()">清空输入框</button>
	</div>
	<textarea spellcheck="false" class="text-box" id="appbox" rows="8" style="width: 100%;"></textarea>
</body>
</html>